package cn.jiyun.service;

import cn.jiyun.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface UserService {

    public void insertUser(User user);

    public List<User> listUser();

    User login(User user);

    void delUser(Integer id);

    User toUpdate(Integer id);

    void updateUser(User user);
}
